﻿using Xtensive.Orm;

namespace SoftRemoval.Model
{
  // Product could be soft-removed
  [HierarchyRoot]
  public class Product : SoftRemovableEntity
  {
    [Key, Field]
    public long Id { get; private set; }

    public override string ToString()
    {
      return string.Format("Product({0}, IsHidden={1})", Id, IsHidden);
    }

    public Product(Session session)
      : base(session)
    {
    }
  }
}